package com.sciyichen.tcpclientbytes;

import android.util.Log;

public class LogUtils {
    private static final boolean DEBUG = true; // 控制是否输出日志
    private static final String DEFAULT_TAG = "UniPlugin";

    public static void e(String tag, String message) {
        if (DEBUG) {
            Log.e(tag, message);
        }
    }

    public static void e(String tag, String message, Throwable throwable) {
        if (DEBUG) {
            Log.e(tag, message, throwable);
        }
    }

    public static void i(String tag, String message) {
        if (DEBUG) {
            Log.i(tag, message);
        }
    }

    public static void w(String tag, String message) {
        if (DEBUG) {
            Log.w(tag, message);
        }
    }
    // 其他日志级别...
}
